package Thread;

class MyThread1 extends Thread{
    @Override
    public void run(){
        System.out.println("Hello word!");
    }
}
public class getIdtest {
    public static void main(String[] args) {
        Thread t=new MyThread1();
        System.out.println(t.getId());
    }
}
